<!--
 * @Author: your name
 * @Date: 2021-09-25 20:53:18
 * @LastEditTime: 2021-09-25 21:15:28
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \vue_test\src\components\School.vue
-->
<template>
  <div class="school">
      <h2>学校的名称：{{name}}</h2>
      <h2>学校的地址：{{address}}</h2>
  </div>
</template>

<script>
export default {
    name:'school',
    data() {
        return {
            name:"尚硅谷",
            address:"北京昌平"
        }
    },
}
</script>

<style>
    .school{
        background: gray;
    }
</style>